package com.xiaozhichao.javaapi.base.math;

import org.junit.Test;

/**
 *  待确认 1
 */
public class MathTest {

    @Test
    public void roundTest(){
        Double source = -11.3;
        System.out.println(Math.round(source)); // --> Math.floor(x+0.5) 向下取整
    }
}
